[qemu patches] Update patches for changeset 11158:a774cbd38187.
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 17 Aug 2006 10:34:39 +0000 (11:34 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 17 Aug 2006 10:34:39 +0000 (11:34 +0100)
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/ioemu/patches/qemu-daemonize [new file with mode: 0644]
tools/ioemu/patches/series

diff --git a/tools/ioemu/patches/qemu-daemonize b/tools/ioemu/patches/qemu-daemonize
new file mode 100644 (file)
index 0000000..0d19d43
--- /dev/null
@@ -0,0 +1,20 @@
+Changes required because qemu-dm runs daemonized.
+
+Index: ioemu/vl.c
+===================================================================
+--- ioemu.orig/vl.c    2006-08-16 15:11:32.575865776 +0100
++++ ioemu/vl.c 2006-08-16 15:11:36.217465702 +0100
+@@ -6036,10 +6036,11 @@
+                 }
+                 break;
+             case QEMU_OPTION_nographic:
+-                pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
++                if(!strcmp(monitor_device, "vc"))
++                    pstrcpy(monitor_device, sizeof(monitor_device), "null");
+                 if(!strcmp(serial_devices[0], "vc"))
+                     pstrcpy(serial_devices[0], sizeof(serial_devices[0]),
+-                            "stdio");
++                            "null");
+                 nographic = 1;
+                 break;
+             case QEMU_OPTION_kernel:
index 21dd2e065e0de1db2920bedd2b4950ddf74ce189..ff27dda9e6421510718ebcf2267b75a6255dd557 100644 (file)
@@ -41,3 +41,4 @@ qemu-allow-disable-sdl
 qemu-fix-memset-args
 qemu-fix-write-to-disk-synchronous
 xen-support-buffered-ioreqs
+qemu-daemonize